package com.kws.payment.dao;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * <b>CreateUnionPayMiniOrderRq</b>
 *
 * @description: CreateUnionPayMiniOrderRq <br>
 * @date: 2024/12/26 17:01 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class CreateUnionPayMiniOrderRq {
    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "支付总金额 单位分")
    private Integer totalAmount;

    @ApiModelProperty(value = "微信子商户appId")
    private String subAppId;

    @ApiModelProperty(value = "用户子标识 微信必传，需要商户自行调用微信平台接口获取")
    private String subOpenId;

    @ApiModelProperty(value = "商品信息")
    private List<GoodsRq> goods;

    @ApiModelProperty(value = "订单过期时间 为空则使用系统默认过期时间（30分钟），格式yyyy-MM-dd HH:mm:ss")
    private String expireTime;

//    @ApiModelProperty(value = "商品标记 用于优惠活动")
//    private String goodsTag;

    @ApiModelProperty(value = "账单描述 微信支付时 上送值长度不超过128字节")
    private String orderDesc;

    @ApiModelProperty(value = "子订单信息 在传分账标记的情况下，若传子商户号，子商户分账金额必传")
    private List<SubOrdersRq> subOrders;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Integer totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getSubAppId() {
        return subAppId;
    }

    public void setSubAppId(String subAppId) {
        this.subAppId = subAppId;
    }

    public String getSubOpenId() {
        return subOpenId;
    }

    public void setSubOpenId(String subOpenId) {
        this.subOpenId = subOpenId;
    }

    public List<GoodsRq> getGoods() {
        return goods;
    }

    public void setGoods(List<GoodsRq> goods) {
        this.goods = goods;
    }

    public String getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(String expireTime) {
        this.expireTime = expireTime;
    }

//    public String getGoodsTag() {
//        return goodsTag;
//    }
//
//    public void setGoodsTag(String goodsTag) {
//        this.goodsTag = goodsTag;
//    }

    public String getOrderDesc() {
        return orderDesc;
    }

    public void setOrderDesc(String orderDesc) {
        this.orderDesc = orderDesc;
    }

    public List<SubOrdersRq> getSubOrders() {
        return subOrders;
    }

    public void setSubOrders(List<SubOrdersRq> subOrders) {
        this.subOrders = subOrders;
    }
}
